package com.eip;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.web.bind.annotation.GetMapping;

@EnableDiscoveryClient
@SpringBootApplication
public class SecurityApplication{

    @GetMapping({"","/"})
    public String index(){
        return "Hi,dy_bom! this is  provider-node1 of peer!";
    }

    public static void main( String[] args ){
        SpringApplication.run(SecurityApplication.class,args);
    }
}
